package com.xuhe.server.domain.db1.dao.gp;

import com.xuhe.server.domain.db1.dataobject.gp.History;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface HistoryMapper extends Mapper<History> {
    List<History> findListByDateAndLimit(@Param("code") String code,
                                         @Param("start") String start,
                                         @Param("end") String end);

    List<String> findAllZtCode(@Param("start") String start,
                               @Param("end") String end);

    Integer deleteByCodeAndDate(@Param("code") String code,
                                @Param("start") String start,
                                @Param("end") String end);
}